package com.example.homework.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.homework.db.daos.PhotoDao
import com.example.homework.db.tables.Photos

@Database(entities = [Photos::class], version = 1, exportSchema = false)
abstract class AppDB : RoomDatabase() {
    abstract fun photoDao(): PhotoDao
}